class ProvincesLogistics < ActiveRecord::Migration
  def self.up
    create_table :provinces_logistics do |t|
      t.references :province
      t.references :logistic
      t.decimal    :fee,:precision => 8, :scale => 2, :default => 0
      t.integer    :free_quantity,:limit=>2,:default=>0
      t.timestamps
    end
  end

  def self.down
    drop_table :provinces_logistics
  end
end
